<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo_test</title>
</head>
<body>

<a href="http://www.baidu.com">跳到百度</a>
<br>
<a href="/app1/index/">跳到首页</a>
<br>
<a href="/app1/book/234">跳到book</a>
<br>

<a href="{% url 'app1:index' %}">跳转到首页</a>
<br>
<a href="{% url 'app1:book' 23 %}">跳转到book页</a>
<br>
<a href="{% url 'app1:blog' %}?id=123&name=张三">跳转blog界面,并且传参</a>


</body>
</html>